<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>专项活动</title>
	<link rel="stylesheet" href="./styles/css/common.css">
</head>

<body>

	<div class="zxhd_style">
		<!-- 公共顶部 -->
		<!-- <include src="./include/top.html"></include> -->
		<script src="http://rsj.beijing.gov.cn/header.js"></script>

		<!-- 公共头部 -->
		<include src="./include/header.art" data="{nav:'01'}"></include>
		<!-- nav图 -->
		<!-- <div class="resultpage_nav"></div> -->
		<!-- 查询和选项 -->
		<div class="resultpage_option clearfix">
			<!-- 列表 ""-->
			<ul class="J_hdList">
				<li class="on">通知及活动展示</li>
				<li>日常招聘信息</li>
				<li>网上招聘会</li>
				<!-- <li>招聘会报名</li> -->
			</ul>
		</div>
		<div class="contentParent">
			<div class="tabContent">
				<!-- 活动通知 -->
				<div class="resultpage_option hdTitle">
					<span class="hdTip">活动通知</span>
				</div>
				<div class="resultpage_option hdTitle">
					<div>
						<a href="http://rsj.beijing.gov.cn/ywsite/jycs/sczphd/202001/t20200121_1619727.html" target="_blank" style="text-decoration: underline">关于开展2020年春风行动暨就业援助月的通知</a>
						<span class="right">2020-01-21</span>
					</div>
				</div>

				<!-- 活动展示 -->
				<div class="resultpage_option hdTitle">
					<span class="hdTip J_hdzs">活动展示</span>
				</div>
				<div class="resultpage_option hdList">
					<div id="J_HD_area">
						<script type="text/html" id="J_HD_item">
							<%if(data.executeResult == 1){%>
							<% var _data = data.hdzslb%>
							<%for(var i=0;i<_data.length;i++){%>
							<% var _parent = _data[i]%>
							<div class="zph_c_wrap">
								<div class="zph_c_header clearfix">
									<span class="left">活动区：<b><%=_parent.hdqx%></b></span>
									<!-- <span class="left">活动数：<b><%=_parent.tzsl%></b></span> -->
									<div class="toggle_icon J_hd_show right">展开</div>
								</div>
								<% var _child= _parent.hdzslbEntity%>
								<div class="zph_c_box clearfix scrollbar hide">
									<%for(var j=0;j<_child.length;j++){%>
									<% var _item = _child[j]%>

									<div class="zph_c_item ">
										<div class="item_top clearfix">
											<div class="top_left left">
												活动区：<span><%=_item.hdqx%></span>
											</div>
											<div class="top_right right">
												<span>活动时间： <b><%=_item.hdsj%></b></span>
											</div>
										</div>
										<div class="item_bottom clearfix">
											<div class="bottom_left left">
												活动内容：<span>
													<%if(_item.xsfbywszp){%>
													<span>
														<%=_item.xsfbywszp%>【线上信息发布及网上招聘活动】
													</span>
													<%}%>
															<%if(_item.zyzdyzcxj){%>
													<span>
														<%=_item.zyzdyzcxj%>【职业指导及政策宣讲等公共就业服务】
													</span>
													<%}%>
													</span>
												</div>
											</div>
											<div class="item_bottom clearfix">
												<div class="bottom_left left">
													联系电话：<span title="<%=_item.lxdh%>"><%=_item.lxdh%></span>
											</div>
										</div>
										<div class="item_bottom clearfix">
											<p class="i_b_dz">组织方式：<span><%=_item.zzfs%></span></p>
										</div>
									</div>
									<%}%>
						</div>
					</div>
							<%}%>
									<%}%>

						</script>
					</div>
				</div>
			</div>
			<div class="zph_style tabContent hide">
				<!-- 查询和选项 -->
				<div class="resultpage_option clearfix">
					<!-- 查询样式 -->
					<div class="z_b_bottom clearfix">
						<div class="option_left left">
							日常招聘信息
						</div>
						<div class="option_right left">
							<label style="top: 0px;left: 18px;" class="passes Showpass" for="rs">请输入您要查询的单位或岗位</label>
							<input class="search_input J_RC_input" type="text" id="rs">
							<input type="button" class="search_submit J_search_submit" value="">
						</div>
					</div>
					<!-- 查询条件 -->
					<div class="z_cxtj">
						<!-- 召开区 -->
						<div class="z_zkq clearfix">
							<!-- <span class="left z_zkq_title">召开区</span> -->
							<div class="J_RC_zkqList z_zkq_list left">

							</div>
						</div>
					</div>
				</div>
				<div class="zph_detail">
					<!-- 分页列表 -->
					<div class="zpxq_content" id="page_RC_table">
						<script type="text/html" id="resultpage_area2">
							<%if(data.executeResult == 1){%>
							<%var _data = data.dwlb%>
							<%for(var i=0;i<_data.length;i++){%>
							<% var _item = _data[i]%>
							<% var _itemArr = _data[i].gwList%>
							<div class="zpxq_c_item">
								<div class="c_item_top clearfix">
									<div class="c_item_top_left left overshow" title="<%=_item.dwmc%>" style="width: 650px;"><%=_item.dwmc%>
									</div>
									<div class="c_item_top_right right">
										<p class="c_item_top_name left">联系人：<%=_item.dwjbr?_item.dwjbr:'暂无'%></p>
										<p class="c_item_top_phone left">电话：<%=_item.lxfs?_item.lxfs:'暂无'%></p>
									</div>
								</div>
								<div class="c_item_bottom clearfix">
									<!-- <div class="c_item_bottom_left left">岗位数量：<%=_item.gws%></div> -->
									<div class="c_item_bottom_right right J_RC_show">展开</div>
								</div>
								<div class="zpxq_c_list clearfix scrollbar">
									<%for(var j=0;j<_itemArr.length;j++){%>
									<% var _single = _itemArr[j] %>
									<div class="zpxq_c_list_item">
										<!-- <div class="zpxq_c_list_title">
							<p class="overshow" title="<%=_item.dwmc%>"><%=_item.dwmc%></p>
						</div> -->
										<div class="zpxq_c_list_con">
											<div class="c_list_mes1 clearfix">
												<p class="mes1_name left overshow" title="<%=_single.gwmc%>"><%=_single.gwmc%></p>
												<p class="mes1_price right"><%=_single.gzdy%></p>
											</div>
											<p class="c_list_mes2">人数：<%=_single.zrs%>人</p>
											<p class="c_list_mes3 overshow" title="<%=_single.xcdy%>">福利待遇：<%=_single.fldy?_single.fldy:'暂无'%></p>
											<!-- <p class="c_list_mes3" title="<%=_single.gwyq%>">岗位要求：<%= spliceString(_single.gwyq)%></p> -->
										</div>
									</div>
									<%}%>
				</div>
			</div>
			<%}%>
									<%}%>

						</script>
					</div>
				</div>
			</div>
			<!-- 网上招聘会 -->
			<div class="zph_style tabContent hide">
				<!-- 查询和选项 -->
				<div class="resultpage_option clearfix">
					<!-- 查询样式 -->
					<div class="z_b_bottom clearfix">
						<div class="option_left left">
							招聘会列表
						</div>
						<div class="option_right left">
							<label style="top: 0px;left: 18px;" class="passes Showpass" for="rs1">请输入您要查询的招聘会、单位或岗位</label>
							<input class="search_input J_WS_input" type="text" id="rs1">
							<input type="button" class="search_submit J_WS_submit" value="">
						</div>
						<div class="zphxx_con left">
							<p>近期召开<span class="zph_num1">0</span>场招聘会，共有<span class="zph_num2">0</span>个单位参会</p>
						</div>
					</div>
					<!-- 查询条件 -->
					<div class="z_cxtj">
						<div class="date_c clearfix">
							<span style="margin-left: 0;">开始时间</span>
							<div class="input_div">
								<input type="text" id="min" readonly="readonly" autocomplete="off">
							</div>
							<span>结束时间</span>
							<div class="input_div">
								<input type="text" id="max" readonly="readonly" autocomplete="off">
							</div>
						</div>
						<!-- 召开区 -->
						<div class="z_zkq clearfix">
							<!-- <span class="left z_zkq_title">召开区</span> -->
							<div class="J_WS_zkqList z_zkq_list left">

							</div>
						</div>
					</div>
				</div>
				<!-- 招聘会列表 -->
				<div class="zph_content" id="page_table1">
					<script type="text/html" id="resultpage_area3">
						<%if(data.executeResult == 1){%>
						<% var _data = data.zphlb%>
						<%for(var i=0;i<_data.length;i++){%>
						<% var _item = _data[i]%>
						<div class="zph_c_item zph_item" zphid="<%=_item.zphid%>">
							<div class="item_top clearfix">
								<div class="top_left left">
									<span>
										开始时间：<%=_item.zphkssj?_item.zphkssj.substring(0,10):"--"%>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
										结束时间：<%=_item.zphjssj?_item.zphjssj.substring(0,10):"--"%>
									</span>
								</div>
								<div class="top_right right">
									<span>参会单位数量 <b><%=_item.cgdws%></b> 家</span>
								</div>
							</div>
							<div class="item_bottom clearfix">
								<div class="bottom_left left">
									<p class="i_b_name overshow" title="<%=_item.zphmc%>"><%=_item.zphmc%></p>
									<!-- <p class="i_b_dz">地址：<%=_item.zphdd%></p> -->
								</div>
								<div class="bottom_right right">
									<p class="i_b_name">主办单位</p>
									<p class="i_b_dz"><%=_item.zbjgmc%></p>
								</div>
							</div>
						</div>
						<%}%>
		<%}%>

					</script>
				</div>
			</div>
			<!-- 招聘会报名 -->
			<div class="zph_style tabContent hide">
				<!-- 查询和选项 -->
				<div class="resultpage_option clearfix">
					<!-- 查询样式 -->
					<div class="z_b_bottom clearfix">
						<div class="option_left left">
							招聘会列表
						</div>
						<div class="option_right left">
							<label style="top: 0px;left: 18px;" class="passes Showpass" for="rs2">请输入您要查询的招聘会、单位或岗位</label>
							<input class="search_input J_BM_input" type="text" id="rs2">
							<input type="button" class="search_submit J_BM_submit" value="">
						</div>
						<div class="zphxx_con left">
							<p>近期召开<span class="zph_BM_num1">0</span>场招聘会，共有<span class="zph_BM__num2">0</span>个单位参会</p>
						</div>
					</div>
					<!-- 查询条件 -->
					<div class="z_cxtj">
						<div class="date_c clearfix">
							<span style="margin-left: 0;">开始时间</span>
							<div class="input_div">
								<input type="text" id="min_BM" readonly="readonly" autocomplete="off">
							</div>
							<span>结束时间</span>
							<div class="input_div">
								<input type="text" id="max_BM" readonly="readonly" autocomplete="off">
							</div>
						</div>
						<!-- 召开区 -->
						<div class="z_zkq clearfix">
							<!-- <span class="left z_zkq_title">召开区</span> -->
							<div class="J_BM_zkqList z_zkq_list left">

							</div>
						</div>
					</div>
				</div>
				<!-- 招聘会列表 -->
				<div class="zph_content" id="page_BM_table">
					<script type="text/html" id="resultpage_area4">
						<%if(data.executeResult == 1){%>
						<% var _data = data.zphlb%>
						<%for(var i=0;i<_data.length;i++){%>
						<% var _item = _data[i]%>
						<div class="zph_c_item J_BM_item" zphid="<%=_item.zphid%>">
							<div class="item_top clearfix">
								<div class="top_left left">
									<span>
										开始时间：<%=_item.zphkssj?_item.zphkssj.substring(0,10):"--"%>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
										结束时间：<%=_item.zphjssj?_item.zphjssj.substring(0,10):"--"%>
									</span>
								</div>
								<div class="top_right right">
									<span>参会单位数量 <b><%=_item.cgdws%></b> 家</span>
								</div>
							</div>
							<div class="item_bottom clearfix">
								<div class="bottom_left left">
									<p class="i_b_name overshow" title="<%=_item.zphmc%>"><%=_item.zphmc%></p>
									<!-- <p class="i_b_dz">地址：<%=_item.zphdd%></p> -->
								</div>
								<div class="bottom_right right">
									<p class="i_b_name">主办单位</p>
									<p class="i_b_dz"><%=_item.zbjgmc%></p>
								</div>
							</div>
						</div>
						<%}%>
		<%}%>

					</script>
				</div>
			</div>
		</div>
		<script src="http://rsj.beijing.gov.cn/footer.js"></script>
	</div>
</body>
<script src="./common/vendor.js"></script>
<script src="./common/md5_32.js"></script>
<script src="./common/configuration.js"></script>
<script src="./common/common.js"></script>
<script src="./common/generaltools.js"></script>
<script src="./date/WdatePicker.js"></script>
<script>
	$(function () {

		var zpq_WS_Arr = []; //网上招聘会区县数组
		var zpq_RC_Arr = []; // 日常招聘信息区县数组
		var zpq_BM_Arr = []; // 招聘会报名区县数组
		var dqrq = ''; //系统时间
		// 获取基本信息
		getBase();
		// 获取 结果公示和机构名录
		codeTable('/jggsxslj','jycs_d_jggslxh', $('.list_jggs'), 'result');
		codeTable('/common/dmb','jycs_d_jgmllxh', $('.list_jgxx'), 'mechanism');
		function codeTable(url,dmbm, ele, hre, dmid) {
			var _url = url;
			var _data = hre == 'result'? {} : {dmbm: dmbm};
			$.fetch({
				url: _url,
				type: 'get',
				data: _data
			}).done(function (result) {
				var data = result.returnData;
				if (+data.executeResult === 1) {
					// 数据数组
					var _data = data.data;
					var _html = '';
					var className = '';
					$.each(_data, function (k, v) {
						if (dmid && v.dmid == dmid) {
							className = 'sub_active';
						} else {
							className = '';
						}
						if (hre == 'mechanism' && v.dmid == '01') {
							_html += '<a  class="' + className + ' J_rlzy" href="javascript:void(0)" dmid=' + v.dmid + ' title="' + v.dmmc + '">' + v.dmmc + '</a>'
						} else {
							_html += '<a  class="' + className + '" href="./' + hre + '.html?dmid=' + v.dmid + '" dmid=' + v.dmid + ' title="' + v.dmmc + '">' + v.dmmc + '</a>'
						}
					})
					ele.html(_html);
				} else {
					$.layerMsg(data.message, '我知道了');
				}
			});
		}

		$('.zxhd_class').addClass('sub_active'); //给招聘会添加样式

		// 活动菜单
		$(document).on('click', '.J_hdList li', function () {

			var i = $(this).index();
			if (!$(this).hasClass('on')) {
				window.location.hash = '';
				if (i == 0) {
					viewNum('5000004'); //通知及活动展示
				} else if (i == 1) {
					viewNum('5000005'); //日常招聘信息
				} else if (i == 2) {
					viewNum('5000006'); //网上招聘会
				} else if (i == 3) {
					viewNum('5000007'); //招聘会报名
					window.location.hash = '#zxhd_4'
				}
			}
			$(this).addClass('on').siblings().removeClass('on');
			$('.tabContent').eq(i).show().siblings().hide();
		})
		viewNum('5000004'); //通知及活动展示

		// 设置hash值 对应跳转到招聘会报名
		setHash();
		function setHash() {
			var _hash = window.location.hash;
			if (_hash == '#zxhd_4') {
				$('.J_hdList li').eq(3).click();
			}
		}
		//活动展示 点击展开
		$(document).on('click', '.J_hd_show', function () {
			var _class = $(this).hasClass('hd_active');
			var _parent = $(this).parents('.zph_c_wrap');
			if (!_class) {
				$(this).addClass('hd_active');
				$(this).text('收起');
				_parent.find('.zph_c_box').slideDown();
			} else {
				$(this).removeClass('hd_active');
				$(this).text('展开');
				_parent.find('.zph_c_box').slideUp();
			}
		})
		getHDPage()
		// 活动展示分页
		function getHDPage() {
			var index = 1;
			var data = {
				pageNum: index,
				pageSize: 30
			}
			$.asyncRender({
				url: '/zxhd/hdzslbCx',
				type: 'get',
				data: data,
				wrap: '#J_HD_area',
				tem: '#J_HD_item',
				pos: 'returnData',
			}).done(function (res) {
				var _res = res.returnData;
				if (+_res.executeResult === 1) {
					$('.J_hdzs').text(_res.dqyf + '活动展示')
				} else {
					$.layerMsg(_res.message, '我知道了');
				}
			})
			// $('#page_table').pageTool({
			// 	url: '/zxhd/hdzslbCx',
			// 	type: 'get',
			// 	data: data,
			// 	locator: 'returnData',
			// 	errMes: '当前无相关招聘会信息！！',
			// 	callback: function (res) {
			// 		var _res = res.returnData;
			// 		if (_res.executeResult == '1') {
			// 			$('.J_hdzs').text(_res.dqyf + '活动展示')
			// 			index++;
			// 		} else {
			// 			$.layerMsg(_res.message, '我知道了', function () {
			// 				return false;
			// 			});
			// 		}
			// 	}
			// });
		}


		//######################################
		//######################################
		// 日常信息  qiufuliCode
		//######################################
		//######################################
		getQu();
		$(document).on('focus', '.search_input', function () {
			$(this).prev('.Showpass').hide();
		})
		$(document).on('blur', '.search_input', function () {
			if (!$(this).val()) {
				$(this).prev('.Showpass').show();
			}
		})
		// 日常招聘信息 选择城区
		$(document).on('click', '.J_RC_zkqList .zk_item', function () {
			var _class = $(this).hasClass('zk_active');
			if (!_class) {
				$(this).addClass('zk_active');
				$('.J_RC_zkqList .all_item').removeClass('zk_active');
				zpq_RC_Arr.push($(this).attr('zpqid'));
				$('.J_search_submit').click();
			} else {
				$(this).removeClass('zk_active');
				zpq_RC_Arr.splice(zpq_RC_Arr.indexOf($(this).attr('zpqid')), 1);
				$('.J_search_submit').click();
			}
			if (zpq_RC_Arr.length == 0) {
				$('.J_RC_zkqList .all_item').addClass('zk_active');
			}
		})
		// 日常招聘信息 全部区县
		$(document).on('click', '.J_RC_zkqList .all_item', function () {
			var _class = $(this).hasClass('zk_active');
			if (!_class) {
				$(this).addClass('zk_active');
				$('.J_RC_zkqList .zk_item').removeClass('zk_active');
				zpq_RC_Arr = [];
				$('.J_search_submit').click();
			}
		});
		// 日常招聘信息 点击展开
		$(document).on('click', '.J_RC_show', function () {
			var _class = $(this).hasClass('zk_active');
			var _parent = $(this).parents('.zpxq_c_item');
			if (!_class) {
				$(this).addClass('zk_active');
				$(this).text('收起');
				_parent.find('.zpxq_c_list').slideDown();
			} else {
				$(this).removeClass('zk_active');
				$(this).text('展开');
				_parent.find('.zpxq_c_list').slideUp();
			}
		})
		// 日常招聘信息 点击查询
		$(document).on('click', '.J_search_submit', function () {
			var _ssmc = $('.J_RC_input').val();
			getRCPage(_ssmc, zpq_RC_Arr);
		})
		// 获取区县
		function getQu() {
			$.fetch({
				url: '/zxhd/qxlbCx',
				type: 'get'
			}).done(function (res) {
				var _res = res.returnData;
				dqrq = _res.dqrq;
				if (+_res.executeResult == 1) {
					var _data = _res.qxlb;
					var _html = '<span class="all_item zk_active" zpqid="">全部</span>';
					$.each(_data, function (k, v) {
						_html += '<span class="zk_item" zpqid="' + v.xzqhdm + '">' + v.xzqhjc + '</span>'
					});
					$('.z_zkq_list').html(_html);
					getRCPage();//日常招聘信息
					getWSPage();//网上招聘会
					// getBMPage();//招聘会报名
				} else {
					$.layerMsg(_res.message, '我知道了');
				}
			})
		}
		// 网上招聘会岗位分组查询
		function getRCPage(ssmc, zpq) {
			var index = 0;
			var data = {
				ssmc: ssmc || '',
				zpdq: zpq || [],
				pageSize: 20,
				pageNum: index
			}
			$('#page_RC_table').pageTool({
				url: '/zxhd/dwlbCx',
				type: 'post',
				data: data,
				locator: 'returnData',
				errMes: '当前无相关招聘信息！！',
				callback: function (res) {
					var _res = res.returnData;
					if (_res.executeResult == '1') {
						index++;
					} else {
						$.layerMsg(_res.message, '我知道了', function () {
							return false;
						});
					}
				}
			});
		}
		template.helper('spliceString', function (str) {
			if (str) {
				if (str.length > 35) {
					return str.substring(0, 35) + '...';
				} else {
					return str;
				}
			} else {
				return '暂无';
			}
		});

		//######################################
		//######################################
		// 网上招聘会
		//######################################
		//######################################
		// 开始时间
		$(document).on('click', '#min', function () {
			WdatePicker({
				startDate: dqrq,
				dateFmt: 'yyyy-MM-dd',
				minDate: dqrq,
				maxDate: '#F{$dp.$D(\'max\')}',
				onpicked: time_fn,
				oncleared: clear_fn
			});
		})
		// 结束时间
		$(document).on('click', '#max', function () {
			WdatePicker({
				startDate: dqrq,
				dateFmt: 'yyyy-MM-dd',
				minDate: dqrq,
				onpicked: time_fn,
				oncleared: clear_fn
			});
		})

		// 网上招聘会 选择城区
		$(document).on('click', '.J_WS_zkqList .zk_item', function () {
			var _class = $(this).hasClass('zk_active');
			if (!_class) {
				$(this).addClass('zk_active');
				$('.J_WS_zkqList .all_item').removeClass('zk_active');
				zpq_WS_Arr.push($(this).attr('zpqid'));
				$('.J_WS_submit').click();
			} else {
				$(this).removeClass('zk_active');
				zpq_WS_Arr.splice(zpq_WS_Arr.indexOf($(this).attr('zpqid')), 1);
				$('.J_WS_submit').click();
			}
			if (zpq_WS_Arr.length == 0) {
				$('.J_WS_zkqList .all_item').addClass('zk_active');
			}
		})
		// 网上招聘会 全部区县
		$(document).on('click', '.J_WS_zkqList .all_item', function () {
			var _class = $(this).hasClass('zk_active');
			if (!_class) {
				$(this).addClass('zk_active');
				$('.J_WS_zkqList .zk_item').removeClass('zk_active');
				zpq_WS_Arr = [];
				$('.J_WS_submit').click();
			}
		});
		// 网上招聘会 点击查询
		$(document).on('click', '.J_WS_submit', function () {
			var _kssj = $('#min').val();
			var _jssj = $('#max').val();
			var _ssmc = $('.J_WS_input').val();
			var _zpq = zpq_WS_Arr;
			getWSPage(_kssj, _jssj, _ssmc, _zpq);
		})
		// 跳转到招聘会详情
		$(document).on('click', '.zph_item', function () {
			window.open('./zxhdzph.html?zphid=' + $(this).attr('zphid'));
		})

		function time_fn() {
			$('.J_WS_submit').click();
		}
		function clear_fn() {
			$('.J_WS_submit').click();
		}

		/**网上招聘会分页
		 * @desc 分页事件
		 * @param kssj 开始时间
		 * @param jssj 结束时间
		 * @param ssmc 搜索关键字
		 * @param zpq 查询区县集合
		 * */
		function getWSPage(kssj, jssj, ssmc, zpq) {
			var index = 0;
			var data = {
				kssj: kssj || '',
				jssj: jssj || '',
				ssmc: ssmc || '',
				zpq: zpq || [],
				pageSize: 20,
				pageNum: index
			}
			$('#page_table1').pageTool({
				url: '/zxhd/zphlbCx',
				type: 'post',
				data: data,
				locator: 'returnData',
				errMes: '当前无相关招聘会信息！！',
				callback: function (result) {
					// Loading.off();
					var msg = result.returnData;
					if (msg.executeResult == '1') {
						$('.zph_num1').text(msg.sjxs['zphs']);
						$('.zph_num2').text(msg.sjxs['dws']);
						index++;
					} else {
						$('.zph_num1').text(msg.sjxs['zphs']);
						$('.zph_num2').text(msg.sjxs['dws']);
						$.layerMsg(msg.message, '我知道了', function () {
							return false;
						});
					}
				}
			});
		}

		//######################################
		//######################################
		// 招聘会报名
		//######################################
		//######################################
		// // 开始时间
		// $(document).on('click', '#min_BM', function () {
		// 	WdatePicker({
		// 		startDate: dqrq,
		// 		dateFmt: 'yyyy-MM-dd',
		// 		minDate: dqrq,
		// 		maxDate: '#F{$dp.$D(\'max\')}',
		// 		onpicked: time_BM_fn,
		// 		oncleared: clear_BM_fn
		// 	});
		// })
		// // 结束时间
		// $(document).on('click', '#max_BM', function () {
		// 	WdatePicker({
		// 		startDate: dqrq,
		// 		dateFmt: 'yyyy-MM-dd',
		// 		minDate: dqrq,
		// 		onpicked: time_BM_fn,
		// 		oncleared: clear_BM_fn
		// 	});
		// })

		// // 网上招聘会 选择城区
		// $(document).on('click', '.J_BM_zkqList .zk_item', function () {
		// 	var _class = $(this).hasClass('zk_active');
		// 	if (!_class) {
		// 		$(this).addClass('zk_active');
		// 		$('.J_BM_zkqList .all_item').removeClass('zk_active');
		// 		zpq_BM_Arr.push($(this).attr('zpqid'));
		// 		$('.J_BM_submit').click();
		// 	} else {
		// 		$(this).removeClass('zk_active');
		// 		zpq_BM_Arr.splice(zpq_BM_Arr.indexOf($(this).attr('zpqid')), 1);
		// 		$('.J_BM_submit').click();
		// 	}
		// 	if (zpq_BM_Arr.length == 0) {
		// 		$('.J_BM_zkqList .all_item').addClass('zk_active');
		// 	}
		// })
		// // 网上招聘会 全部区县
		// $(document).on('click', '.J_BM_zkqList .all_item', function () {
		// 	var _class = $(this).hasClass('zk_active');
		// 	if (!_class) {
		// 		$(this).addClass('zk_active');
		// 		$('.J_BM_zkqList .zk_item').removeClass('zk_active');
		// 		zpq_BM_Arr = [];
		// 		$('.J_BM_submit').click();
		// 	}
		// });
		// // 网上招聘会 点击查询
		// $(document).on('click', '.J_BM_submit', function () {
		// 	var _kssj = $('#min_BM').val();
		// 	var _jssj = $('#max_BM').val();
		// 	var _ssmc = $('.J_BM_input').val();
		// 	var _zpq = zpq_BM_Arr;
		// 	getBMPage(_kssj, _jssj, _ssmc, _zpq);
		// })
		// // 跳转到招聘会详情
		// $(document).on('click', '.J_BM_item', function () {
		// 	window.open('./zxhdbm.html?zphid=' + $(this).attr('zphid'));
		// })

		// function time_BM_fn() {
		// 	$('.J_BM_submit').click();
		// }
		// function clear_BM_fn() {
		// 	$('.J_BM_submit').click();
		// }

		// /**网上招聘会分页
		//  * @desc 分页事件
		//  * @param kssj 开始时间
		//  * @param jssj 结束时间
		//  * @param ssmc 搜索关键字
		//  * @param zpq 查询区县集合
		//  * */
		// function getBMPage(kssj, jssj, ssmc, zpq) {
		// 	var index = 0;
		// 	var data = {
		// 		kssj: kssj || '',
		// 		jssj: jssj || '',
		// 		ssmc: ssmc || '',
		// 		zpq: zpq || [],
		// 		pageSize: 20,
		// 		pageNum: index
		// 	}
		// 	$('#page_BM_table').pageTool({
		// 		url: '/zxhd_x/zphlbCx',
		// 		type: 'post',
		// 		data: data,
		// 		locator: 'returnData',
		// 		errMes: '当前无相关招聘会信息！！',
		// 		callback: function (result) {
		// 			// Loading.off();
		// 			var msg = result.returnData;
		// 			if (msg.executeResult == '1') {
		// 				console.log('meg', msg);
		// 				$('.zph_BM_num1').text(msg.sjxs['zphs']);
		// 				$('.zph_BM_num2').text(msg.sjxs['dws']);
		// 				index++;
		// 			} else {
		// 				$('.zph_BM_num1').text(msg.sjxs['zphs']);
		// 				$('.zph_BM_num2').text(msg.sjxs['dws']);
		// 				$.layerMsg(msg.message, '我知道了', function () {
		// 					return false;
		// 				});
		// 			}
		// 		}
		// 	});
		// }

	});

</script>

</html>
